package com.duanzu.duanzucommon.entity;

import java.io.Serializable;

/**
 * (Power)实体类
 *
 * @author makejava
 * @since 2021-07-06 15:40:31
 */
public class Power implements Serializable {
    private static final long serialVersionUID = -90465954084756740L;
    /**
     * 权限主键
     */
    private Integer powerid;
    /**
     * 权限名称
     */
    private String powername;
    /**
     * 功能请求的路径,第一级id的url可为null
     */
    private String url;
    /**
     * 功能对应的父级id，第一级功能id的父级id为0
     */
    private Integer parentid;


    public Integer getPowerid() {
        return powerid;
    }

    public void setPowerid(Integer powerid) {
        this.powerid = powerid;
    }

    public String getPowername() {
        return powername;
    }

    public void setPowername(String powername) {
        this.powername = powername;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Integer getParentid() {
        return parentid;
    }

    public void setParentid(Integer parentid) {
        this.parentid = parentid;
    }

}
